<%@page import="com.jfinal.plugin.ehcache.CacheKit"%>
<%@page import="com.qysoft.rapid.utils.DateUtil"%>
<%@page import="com.qysoft.rapid.utils.RenderHelper"%>
<%@taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<%=RenderHelper.includedJavascript(request, "/static/plugin/My97DatePicker/WdatePicker.js")%>
<%=RenderHelper.includedStyle(request, "/static/plugin/jqgrid/css/ui.jqgrid.css") %>
<%=RenderHelper.includedStyle(request, "/static/plugin/jqgrid/css/jquery-ui.theme.min.css") %>
<%=RenderHelper.includedStyle(request, "/static/plugin/layer/skin/layer.css") %>
<%=RenderHelper.includedStyle(request, "/static/css/common.css") %>
<%
	String currentData = DateUtil.getCurrentDateStr();
%>
<script type="text/javascript">
	var ctx = "<%=request.getContextPath()%>";
</script>
<title>煤炭经营信息</title>
</head>
<body>
<!-- 操作按钮区 -->
<div class="search_div">
    <form id="searchForm" action="">
        <input name="title" class="search_input" style="width: 300px;"/>
        <button type="button" class="_searchbtn" onclick="refreshGrid();">搜索标题</button>
        <button type="button" class="_btn" onclick="searchFormReset()">重置</button>
        <button type="button" class="_btn" onclick="openGDTJ()">高级搜索</button>
        <span class="fl_r">
        </span>
    </form>
</div>
<!-- 表格区 -->
<table id="listGrid"></table> 
<div id="gridPager"></div>
<!-- 更多条件 -->
<div id="divGdContent" style="display: none;background-color: #F5F6FA;margin-top:-19px;padding-top:20px">
    <form id="searchFormGd" class="megbox_form">
        <dl class="megbox_dl">
            <dd><label>标题：</label><span class="megbox_span"><input id="title" name="title" class="megbox_input" style="width: 472px;"/></span></dd>
        </dl>
        <dl class="megbox_dl">
            <dd><label>发文时间：</label><span class="megbox_span"><input id="infodate_q" name="infodate_q" class="megbox_input" onclick = "WdatePicker()"/></span></dd>
            <dd><label>至：</label><span class="megbox_span"><input id="infodate_z" name="infodate_z" class="megbox_input" onclick = "WdatePicker()"/></span></dd>
        </dl>
        <dl class="megbox_dl">
            <dd>
            <label>税源企业：</label>
            <span class="megbox_span">
            <select id="qyid" name="qyid" class="megbox_select">
	            <option value="">全部</option>
	            <c:forEach items="${qyxxList }" var="qyxx">
	            	<option value="${qyxx.qyid }">${qyxx.qyjc}</option>
	            </c:forEach>
            </select>
			</span>
			</dd>
            <dd><label>来源：</label><span class="megbox_span">
            <select id="capid" name="capid" class="megbox_select">
	            <option value="">全部</option>
	            <c:forEach items="${capList }" var="cap">
	            	<option value="${cap.capid }">${cap.webname}</option>
	            </c:forEach>
            </select>
			</span></dd>
        </dl>
        <dl class="megbox_dl">
            <dd>
                <p class="fl_r" style="padding-top:10px;">
                    <button style="margin-left: 320px;" type="button" class="_masterbtn" onclick="refreshGridGd();">查询</button>
                    <button type="button" class="_btn" onclick="searchFormReset()">重置</button>
                    <button type="button" class="_btn" onclick="qyClose();">关闭</button>
                </p>
            </dd>
        </dl>
    </form>
</div>
<%=RenderHelper.includedJavascript(request, "/static/plugin/jquery.js") %> 
<%=RenderHelper.includedJavascript(request, "/static/plugin/jquery.form.js") %> 
<%=RenderHelper.includedJavascript(request, "/static/plugin/jqgrid/jquery.jqGrid.min.js") %> 
<%=RenderHelper.includedJavascript(request, "/static/plugin/jqgrid/grid.locale-cn.js") %> 
<%=RenderHelper.includedJavascript(request, "/static/plugin/layer/layer.js") %>
<%=RenderHelper.includedJavascript(request, "/static/js/common.js") %>
<%=RenderHelper.includedAutoJavascript(request)%> 
</body>
</html>